﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace SGD_ParticleEditor
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            // Create the form
            Form1 myForm = new Form1();

            // Display the form
            myForm.Show();

            // System Loop
            while (myForm.isLooping)
            {
                // Update
                myForm.UpdateSystem();

                // Render
                myForm.Render();

                // Event Handling
                Application.DoEvents();
            }
        }
    }
}
